Bubble lets you integrate with DocuGenerate to add PDF generation to your apps. With our plugin, you can set up custom templates and generate professional documents directly within your workflows.
1. Install the Plugin
2. List Templates (Data)
3. Get Template (Data)
4. List Documents (Data)
5. Get Document (Data)
6. Create Template (Action)
7. Update Template (Action)
8. Delete Template (Action)
9. Generate Document (Action)
10. Update Document (Action)
11. Delete Document (Action)
To get started, install the DocuGenerate plugin and configure it with your API key. In your Bubble editor, navigate to the Plugins tab, search for DocuGenerate, and install the plugin.
Go to your DocuGenerate account settings to obtain your API Key and enter it in the plugin’s settings within Bubble to enable secure access.
Once connected, you’ll be able to use a variety of actions and data calls to manage templates and generate documents.
Use this call to retrieve a list of all templates stored in your DocuGenerate account, including basic details such as template names and IDs. This data call can be useful for displaying available templates in your Bubble app, allowing users to choose from preconfigured options.
This call retrieves detailed information for a specific template, using the template’s unique ID. You can access attributes like the template’s name, tags, and format, which is helpful when displaying or managing individual templates within your app. This call requires the following input:
Fetches a list of documents generated from a specific template, allowing you to track or display previously generated documents related to a template. This call can provide information like document name, format, and creation date for easy access and management. It requires the following input:
This call retrieves metadata for a specific document, such as its filename, format, and document URI. Use this data call to access details about individual documents and manage them within your app. The call requires the following input:
Upload a new file as a template to your DocuGenerate account. This action also allows you to specify an optional name for the template. Once uploaded, this template can be used to generate documents based on user data. The following inputs are expected:
Modify an existing template’s file or update its name. This action allows you to keep templates current by uploading new versions or adjusting names as needed. The following inputs are required:
Remove a template from your DocuGenerate account. This action is useful for maintaining a streamlined list of templates by removing any that are no longer needed. It requires the following input:
This action creates a document from a specified template and dataset. Define the document’s name, filename, and format, and provide the data to populate fields in the template. This is essential for generating customized documents based on user input or data. The following inputs are customizable:
.pdf
, .docx
, .doc
, .odt
, .txt
, .html
, .png
).Use this action to modify details of an existing document, such as updating the document’s name for improved organization or clarification. The following inputs are expected:
This action deletes a document from your DocuGenerate account. Use this to keep your document list clean and relevant by removing outdated or unnecessary documents. It requires the following input: